package com.youlu.campus.web.community.service;

import com.youlu.campus.entity.CaInfo;
import com.youlu.campus.entity.OrderInfo;
import com.youlu.campus.entity.UserCaInfo;
import com.youlu.campus.entity.UserPO;
import com.youlu.campus.entity.VO.req.PlaceOrderVO;
import com.youlu.campus.entity.VO.req.UserCaQuery;
import com.youlu.campus.entity.domain.ActivityRewadDomain;
import com.youlu.campus.entity.domain.UserCaDomain;
import org.apache.commons.lang3.tuple.Triple;

import java.util.List;
import java.util.Map;

public interface WechatMiniCaService {
    UserCaDomain getUserCaInfos(UserCaQuery req);

    UserCaDomain getActivtyOrderItemInfo(UserCaQuery req);

    OrderInfo placeOrder(PlaceOrderVO req, UserPO userPO);

    OrderInfo updateOrder(OrderInfo orderInfo, UserPO userPO,String platform);

    Object payOrder(ActivityRewadDomain req, UserPO userPO);

    List<String> getOrders(String activityId);

}
